<template>
  <el-dialog 
    :close-on-click-modal="false"
    :append-to-body="true"
  :visible.sync="visible" title="个人中心" width="1300px">
    <user-detail ref="Person" :userId="userId" />
  </el-dialog>
</template>

<script>

import userDetail from '@/views/archives/userDetail/index'
import { userInfo } from '@/api/auth'

export default {
  components: { userDetail },
  props: {
    // 选择值
    userId: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      visible: false
    }
  },
  created() {
    
  },
  methods: {
    open() {
      this.visible = true
    }
  }
}
</script>